//
//  APIClient.swift
//  osc
//
//  Created by admin on 14/10/30.
//  Copyright (c) 2014年 sinosun. All rights reserved.
//

import Foundation
var url = "http://www.oschina.net/action/openapi/token?client_id=cwwxVFwXXM1S3tckX7ec&client_secret=ZaIIwQirSzf0JGGww4rd76gW47MQ3ikp&grant_type=authorization_code&redirect_uri=http://my.oschina.net/lucasz&code=5HxUVS&state=xyz&dataType=json"

/*
{
        "uid": 206314,
        "expires_in": 604799,
        "token_type": "bearer",
        "refresh_token": "6df25497-51ea-4a3e-bd23-d604f26845ca",
        "access_token": "af98ff4d-3569-4dc7-9ef6-13a2dea90492"
}

*/
var authorize = "https://www.oschina.net/action/oauth2/authorize?response_type=code&client_id=cwwxVFwXXM1S3tckX7ec&redirect_uri=http://my.oschina.net/lucasz&state=xyz"
var response = "http://my.oschina.net/lucasz?code=5HxUVS&state=xyz"